<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/page/share/taglib.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/style.css" />
</head>
<body>
	
	<table class="table">
	<html:form action="/control/oa/workFlowAdd.do" method="post">
						<tr class="table_header"><td>添加流程</td><td>内容</td></tr>
						<tr class= "row1">
							<td>流程名称</td>
							<td><html:text property="name" value="${data.name }"></html:text></td>
						</tr>
						<tr class= "row1">
							<td>流程说明</td>
							<td><html:text property="note" value="${data.note }"></html:text></td>
						</tr>
						<tr class= "row1">
							<td>审核组</td>
							<td>
							<c:forEach var="data" items="${datas}" varStatus="s">
								<html:checkbox property="verifyGroupids" value="${data.id}">${data.name}</html:checkbox><c:if test="${s.count%4 == 0}"><br/></c:if>
							 </c:forEach>
							 </td>
						</tr>
						<tr class= "row1">
							<td>审核成功的目标用户组</td>
							<td>
							<select name="targetUserGroupid">
								<c:forEach items="${datas}" var="d">
									<option value="${d.id}" <c:if test="${d.id == data.platType.id}">selected="selected"</c:if>>${d.name}</option>
								</c:forEach>
							</select>
							</td>
						</tr>
						<tr class= "row1">
							<td>目标用户组是否有后台权限</td>
							<td>
								<html:radio property="isManager" value="true">是</html:radio>
								<html:radio property="isManager" value="false">否</html:radio>
							</td>
						</tr>
			<tr>
			<td><html:submit value="确定"></html:submit></td><td><html:reset value="重置"></html:reset></td>
			</tr>
	</html:form>					
	</table>

</body>
</html>